﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Host.Domain
{
    /// <summary>
    /// 换热站信息表
    /// </summary>
    public  class Stations
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int StationId { get; set; }
        /// <summary>
        /// 换热站名称
        /// </summary>
        public string StationName { get; set; }
        /// <summary>
        /// 换热站的物理位置
        /// </summary>
        public string StationLocation { get; set; }
        /// <summary>
        /// 1=正常 2=故障 3=维护
        /// </summary>
        public int StationStatus { get; set; }
        /// <summary>
        /// 记录最后一次接收到数据的时间
        /// </summary>
        public DateTime StationLastTime { get; set; }
    }
}
